\doxysection{x\+Message\+Buffer\+Next\+Length\+Bytes }
\hypertarget{group__x_message_buffer_next_length_bytes}{}\label{group__x_message_buffer_next_length_bytes}\index{xMessageBufferNextLengthBytes@{xMessageBufferNextLengthBytes}}
\doxylink{message__buffer_8h_source}{message\+\_\+buffer.\+h} 
\begin{DoxyPre}
size\_t xMessageBufferNextLengthBytes( MessageBufferHandle\_t xMessageBuffer ) );
\end{DoxyPre}
 Returns the length (in bytes) of the next message in a message buffer. Useful if x\+Message\+Buffer\+Receive() returned 0 because the size of the buffer passed into x\+Message\+Buffer\+Receive() was too small to hold the next message.


\begin{DoxyParams}{Parameters}
{\em x\+Message\+Buffer} & The handle of the message buffer being queried.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The length (in bytes) of the next message in the message buffer, or 0 if the message buffer is empty. 
\end{DoxyReturn}
